home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / cmplx.z / cmplx
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  85 lines

  1. CMPLX(3I)                                             Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      CCMMPPLLXX, DDCCMMPPLLXX, QQCCMMPPLLXX - Converts to type complex
  6.  
  7. SSYYNNOOPPSSIISS
  8.      CCMMPPLLXX (([XX==]_x [,,[YY==]_y] [,,[KKIINNDD==]_k_i_n_d]))
  9.      DDCCMMPPLLXX (([XX==]_x [,,[YY==]_y] [,,[KKIINNDD==]_k_i_n_d]))
  10.      QQCCMMPPLLXX (([XX==]_x [,,[YY==]_y] [,,[KKIINNDD==]_k_i_n_d]))
  11.  
  12. IIMMPPLLEEMMEENNTTAATTIIOONN
  13.      UNICOS, UNICOS/mk, IRIX systems
  14.  
  15.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  16.  
  17. SSTTAANNDDAARRDDSS
  18.      Fortran
  19.  
  20.      Fortran extensions:  DDCCMMPPLLXX, QQCCMMPPLLXX
  21.  
  22. DDEESSCCRRIIPPTTIIOONN
  23.      CCMMPPLLXX is a generic function name; the others are specifics.  These are
  24.      elemental intrinsic functions.  These functions convert _x and (if
  25.      specified) _y into type complex.  Their arguments are as follows:
  26.  
  27.      _x         The real part of complex number.  Must be type integer,
  28.                Boolean, real, complex, double precision, or quad precision.
  29.                If _x is of type complex, argument _y cannot be specified.
  30.  
  31.                See the RETURN VALUES section for more information on input
  32.                data types and return values.
  33.  
  34.      _y         The imaginary part of a number.  Must be of the same type
  35.                and kind type as _x.  If unspecified, zero is assumed.
  36.  
  37.      _k_i_n_d      An integer scalar value.  The kind type assigned to the
  38.                result.  Must be a valid kind type for type complex on your
  39.                platform.  Kind types accepted differ from platform to
  40.                platform, see _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _1,
  41.                for information on valid types and kind types allowed.
  42.  
  43.                This argument is not accepted by the MIPSpro Fortran 77
  44.                compiler.
  45.  
  46.      Type conversion routines assign the appropriate type to Boolean
  47.      arguments without shifting or manipulating the bit patterns they
  48.      represent.
  49.  
  50.      The following cases represent the evaluation of CCMMPPLLXX when using both
  51.      arguments:
  52.  
  53.           CCMMPPLLXX((II,,JJ)) returns FFLLOOAATT((II))++ii**FFLLOOAATT((JJ))
  54.  
  55.           CCMMPPLLXX((xx,,yy)) returns the complex value xx++ii**yy
  56.  
  57.      The following cases represent the evaluation of CCMMPPLLXX when using the
  58.      first argument:
  59.  
  60.           CCMMPPLLXX((XX)) returns XX++ii**00
  61.  
  62.           CCMMPPLLXX((II)) returns FFLLOOAATT((II))++ii**00
  63.  
  64.           CCMMPPLLXX((CC)) == CC if CC is complex.
  65.  
  66. NNOOTTEESS
  67.      The names of these intrinsics cannot be passed as arguments.
  68.  
  69. RREETTUURRNN VVAALLUUEESS
  70.      If the _k_i_n_d argument is specified, the kind type of the result is the
  71.      same as the _k_i_n_d argument.
  72.  
  73.      If the _k_i_n_d argument is not specified, the following return values are
  74.      obtained:
  75.  
  76.      * CCMMPPLLXX returns a complex value.
  77.  
  78.      * DDCCMMPPLLXX returns a double-complex value.
  79.  
  80.      * QQCCMMPPLLXX returns a quad-complex value.
  81.  
  82. SSEEEE AALLSSOO
  83.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  84.      man page.
  85.